import router from '@/router'
import getPageTitle from '@/utils/get-page-title'



router.beforeEach((to, from, next) => {
    // 页面标题
    document.title = getPageTitle(to.meta.title)
    next();
})


// router.afterEach((to, from) => {
//     console.log(to, from);
// })
